package cn.zn.modules.zzsys.cur.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 推送开关
 *
 * @TableName zz_sys_push_switch
 */
@TableName(value = "zz_sys_push_switch")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysPushSwitch implements Serializable {
    /**
     * 工号
     */
    @TableId(value = "work_no", type = IdType.INPUT)
    private String workNo;

    /**
     * 是否开启
     */
    @TableField(value = "is_open")
    private Byte isOpen;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}